DocumentReplace(IContentElement, IContentElement, FindOptions) Method

Replaces the specified content element with another content element.

Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public bool Replace(
	IContentElement oldElement,
	IContentElement newElement,
	FindOptions options
)

Parameters

oldElement  IContentElement
The content element to replace.
newElement  IContentElement
The content element that replaces oldElement.
options  FindOptions
The options of the replacement.

Return Value

Boolean
true if the content element was replaced.

See Also